import request from '@/utils/request'

export function save(data) {
    return request({
      url: '/comprehensive/questionnaire/save',
      method: 'post',
      data: data
    })
  }

  export function get(id) {
    return request({
      url: '/comprehensive/questionnaire/' + id,
      method: 'get'
    })
  }


  export function del(id) {
    return request({
      url: '/comprehensive/questionnaire/' + id,
      method: 'post'
    })
  }
  

  export function listQuestionnaire(query) {
    return request({
      url: '/system/questionnaire/list',
      method: 'get',
      params: query
    })
  }